import layout from '@/layout'

export default {
  path: '/task',
  name: 'task',
  redirect: '/task/business',
  component: layout,
  meta: {
    title: '工单管理',
    icon: 'tree-table'
  },
  children: [
    {
      path: '/task/business',
      name: 'business',
      component: () => import('../../views/workorder/Operation.vue'),
      meta: {
        title: '运营工单'
      }
    }, {
      path: '/task/operation',
      name: 'operation',
      component: () => import('../../views/workorder/Maintain.vue'),
      meta: {
        title: '运维工单'
      }
    }
  ]
}
